package com.turtle3d.formallanguage.symbol;

import java.util.Hashtable;

/**
 * A class for calculating parameters.
 * 
 * @author Marek Paterczyk <marek.paterczyk@gmail.com>
 *
 */
public interface Method
{
	/**
	 * 
	 * @param removedSymbol Left side production symbol. 
	 * @param calculatedSymbol The symbol that is computed.
	 * @param defaultParameters The default parameters (if not found in removedSymbol)
	 * @return false for the symbol NOT to be used
	 */
	public boolean calculate(Symbol removedSymbol, Symbol calculatedSymbol, Hashtable<String, Float> defaultParameters);	
}
